using UnityEngine;

namespace Gj
{
    public class AutoRotate : MonoBehaviour
    {
        public float speedX;
        public float speedY;
        public float speedZ;
        public Space space = Space.World;

        // Update is called once per frame
        private void Update()
        {
            transform.Rotate(speedX * Time.deltaTime, speedY * Time.deltaTime, speedZ * Time.deltaTime, space);
        }
    }
}